<?php
	header("Content-Type: text/html; charset=UTF-8");
	include_once dirname(dirname(__FILE__)).'/inc/bootConfig.php';
	$username = User_Check::checkUserLogin();
	if(!$username){
		showmsgbox('请先登录',_ADMIN_PATH.'index.php');
	}
//	if(!$_COOKIE['userOnLineTime']){
//		session_destroy();
//		echo "<script>alert('长时间未操作，请重新登录');window.top.location.href='"._ADMIN_PATH."index.php'</script>";
//	}
	setcookie('userOnLineTime',1,time()+600,'/');